xen/arm: move evtchn_allocate call out of make_hypervisor_node
authorStefano Stabellini <sstabellini@kernel.org>
Tue, 31 Jul 2018 23:27:49 +0000 (16:27 -0700)
committerJulien Grall <julien.grall@arm.com>
Wed, 22 Aug 2018 15:28:30 +0000 (16:28 +0100)
commit9d61c62188cfc0cfaf324e19a5a941090d431b4f
treec68a68749362df6fbf51b73649ec55a014c0f815
parent1c898a9fec7e45eedbcbf0346db10879fac2b4a5
xen/arm: move evtchn_allocate call out of make_hypervisor_node

In the case of domUs, evtchn_irq is allocated by arch_domain_create and
set to GUEST_EVTCHN_PPI.

To make make_hypervisor_node more reusable, move the call to
evtchn_allocate out of make_hypervisor_node, to the dom0 specific caller
(handle_node).

Signed-off-by: Stefano Stabellini <stefanos@xilinx.com>
Reviewed-by: Julien Grall <julien.grall@arm.com>
xen/arch/arm/domain_build.c